
package processing;

import java.util.Stack;

import model.semantics.AbstractToken;

/**
 * Processor class for right parentheses. Used to processes tokens via reflection.
 * @author Troy Ferrell
 *
 */
public class RightParenTokenProcessor extends AbstractTokenProcessor 
{
	@Override
	public void process(AbstractToken token, Stack<AbstractToken> operators,
			Stack<AbstractToken> operands) 
	{
		new SeparatorTokenProcessor().process(token, operators, operands);
		operators.pop();
	}
}
